Skip to content

Load server data only after the first-login role grant (CGE-192) - #66

Merged
jasquat merged 1 commit into
mainfrom
ensure-self-before-data
Dec 2, 2026
Merged

jasquat merged 1 commit into
mainfrom
ensure-self-before-data

Conversation

@burnettk

Copy link
Copy Markdown
Collaborator

On a first login, the home screen loaded CFPackages while ensure-self was still giving the user Author, with the token from before. The request got 403 until a reload.

The app now waits for ensure-self and its token refresh before it loads definitions, the framework list, or a framework from the URL, and before it shows a screen. If ensure-self fails, the app continues as before.

On a first login, the home screen loaded CFPackages while ensure-self was still giving the
user Author, with the token from before. The request got 403 until a reload.

The app now waits for ensure-self and its token refresh before it loads definitions, the
framework list, or a framework from the URL, and before it shows a screen.
@jasquat
jasquat merged commit c629d12 into main Dec 2, 2026
3 checks passed
@jasquat
jasquat deleted the ensure-self-before-data branch December 2, 2026 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants